
<?php
$connection =@mysqli_connect("localhost","root","root","educate");
if(!$connection){
    exit("<h1>数据库连接失败</h1>");
}
$sql = "select * from competition_activity ";
$result = mysqli_query($connection,$sql);

?>


<!doctype html>
<html class="no-js" lang="zxx">

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title></title>
    <meta name="robots" content="noindex, follow" />
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Favicon -->
    <link rel="shortcut icon" type="image/x-icon" href="assets/images/favicon.ico">
    <link rel="stylesheet" href="../assets/css/vendor/vendor.min.css">
    <link rel="stylesheet" href="../assets/css/plugins/plugins.min.css">
    <link rel="stylesheet" href="../assets/css/style.min.css">

</head>

<body>
    <div class="header-area header-three">
        <!-- Header Middle Start -->
        <div class="header-middle space-40 sticker" style="padding: 18px;">
            <div class="container">
                <div class="row align-items-center">
                    <div class="col-lg-3 col-6">
                        <div class="logo">
                            <a href="../index.php"><img src="../assets/images/logo/pos-circle-logo.jpg" alt=""
                                                        class="img-fluid"></a>
                        </div>
                    </div>
                    <div class="col-lg-9 col-6">
                        <div class="header-middle-inner">
                            <!-- Main Menu Start -->
                            <div class="header-menu float-left add-sticky">
                                <div class="sticky-container">
                                    <div class="logo">
                                        <a href="../index.php"><img src="../assets/images/logo/pos-circle-logo.jpg" alt=""
                                                                    class="img-fluid"></a>
                                    </div>
                                    <nav class="main-menu">
                                        <ul>
                                            <li>
                                                <a href="../index.php">首页<i></i></a>
                                            </li>
                                            <li>
                                                <a href="#">资源 <i class="fa fa-angle-down"></i></a>
                                                <div class="mega-menu dropdown">
                                                    <ul class="mega-menu-inner d-flex">
                                                        <li>
                                                            <a href="">环境搭建</a>
                                                            <ul>
                                                                <li><a href="http://www.mingw-w64.org/doku.php">MinGW-64-GCC</a></li>
                                                                <li><a href="https://www.python.org/">Python</a></li>
                                                                <li><a href="https://www.java.com/zh-CN/">Java</a></li>
                                                                <li><a href="https://www.anaconda.com/">Anacanda</a>
                                                                </li>
                                                            </ul>
                                                        </li>
                                                        <li>
                                                            <a href="">编译软件</a>
                                                            <ul>
                                                                <li><a href="https://www.codeblocks.org/">CodeBlocks</a></li>
                                                                <li><a href="https://www.jetbrains.com/pycharm/">Pycharm</a></li>
                                                                <li><a href="https://www.eclipse.org/downloads/">Eclipse</a></li>
                                                                <li><a href="https://code.visualstudio.com/">Visual Studio Code</a></li>
                                                            </ul>
                                                        </li>
                                                        <li>
                                                            <a href="">实用软件</a>
                                                            <ul>
                                                                <li><a href="404.html">Notpad++</a></li>
                                                                <li><a href="https://www.typora.io/">Typora</a></li>
                                                                <li><a href="http://www.sublimetext.com/3">Sublime Test</a></li>
                                                            </ul>
                                                        </li>
                                                    </ul>
                                                </div>
                                            </li>
                                            <li><a href="../notice/notice.html">课程公告</a></li>
                                            <li><a href="../competition/competition.html">竞赛公告</a></li>
                                            <li><a href="../about.html">平台介绍</a></li>
                                        </ul>
                                    </nav>
                                </div>
                            </div>
                            <!-- Main Menu End -->
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- Header Middle End -->
    </div>



    <!--=====================
    Breadcrumb Aera Start
    =========================-->
    <div class="breadcrumbs_area">
        <div class="container">
            <div class="row">
                <div class="col-12">
                    <div class="breadcrumb_content">
                        <ul>
                            <li>
                                <h1><a href="../index.php">首页</a></h1>
                            </li>
                            <li>竞赛活动</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--=====================
    Breadcrumb Aera End
    =========================-->

    <!--======================
    Shop area Start
    ==========================-->
    <div class="shop-area">
        <div class="container">
            <div class="row">
                <div class="col-lg-3">
                    <aside class="sidebar-widget mt-50">
                        <div class="shop-sidebar-category">
                            <div class="sidebar-title">
                                <h4 class="title-shop">竞赛活动</h4>
                            </div>
                            <ul class="sidebar-category-expand">

                                <li class="menu-item-has-children active"><span class="menu-expand">
                                        <i class="fa fa-angle-down"></i></span>
                                    <a href="#">中国大学生计算机设计大赛</a>
                                    <ul class="sub-menu">
                                        <li class="menu-item-has-children">
                                            <a href="http://jsjds.ruc.edu.cn/">竞赛官网</a>
                                        </li>
                                        <li class="menu-item-has-children">
                                            <a href="announcement-details-competition_1.html">详细说明</a>
                                        </li>
                                        <li class="menu-item-has-children">
                                            <a href="competition.html">竞赛通知</a>
                                        </li>
                                    </ul>
                                </li>

                                <li class="menu-item-has-children active"><span class="menu-expand"><i class="fa fa-angle-down"></i></span>
                                    <a href="#">阿里天池大数据竞赛</a>
                                    <ul class="sub-menu">
                                        <li class="menu-item-has-children">
                                            <a href="https://tianchi.aliyun.com/">竞赛官网</a>
                                        </li>
                                        <li class="menu-item-has-children">
                                            <a href="announcement-details-competition_1.html">详细说明</a>
                                        </li>
                                        <li class="menu-item-has-children">
                                            <a href="competition.html">竞赛通知</a>
                                        </li>
                                    </ul>
                                </li>
                                <li class="menu-item-has-children">

                                    <a href="#">第十二届蓝桥杯</a>
                                    <ul class="sub-menu">
                                        <li class="menu-item-has-children">

                                            <a href="https://dasai.lanqiao.cn/">竞赛官网</a>

                                        </li>
                                        <li class="menu-item-has-children">
                                            <a href="announcement-details-competition_1.html">详细说明</a>
                                        </li>
                                        <li class="menu-item-has-children">
                                            <a href="competition.html">竞赛通知</a>
                                        </li>
                                    </ul>
                                </li>
                                <li class="menu-item-has-children">
                                    <a href="#">团体程序设计天梯赛</a>
                                    <ul class="sub-menu">
                                        <li class="menu-item-has-children">

                                            <a href="https://gplt.patest.cn/regulation">竞赛官网</a>

                                        </li>
                                        <li class="menu-item-has-children">
                                            <a href="announcement-details-competition_1.html">详细说明</a>
                                        </li>
                                        <li class="menu-item-has-children">
                                            <a href="competition.html">竞赛通知</a>
                                        </li>
                                    </ul>
                                </li>
                                <li class="menu-item-has-children">
                                    <a href="#">华为软件精英挑战赛</a>
                                    <ul class="sub-menu">
                                        <li class="menu-item-has-children">

                                            <a href="https://competition.huaweicloud.com/codecraft2021#introduction">竞赛官网</a>

                                        </li>
                                        <li class="menu-item-has-children">
                                            <a href="announcement-details-competition_1.html">详细说明</a>
                                        </li>
                                        <li class="menu-item-has-children">
                                            <a href="competition.html">竞赛通知</a>
                                        </li>
                                    </ul>
                                </li>

                            </ul>
                        </div>

                    </aside>
                </div>
                <div class="col-lg-9 order-first order-lg-last">
                    <!-- Shop Banner Start -->
                    <div class="single-banner mt-50 mb-50">
                        <a href="#"><img src="../assets/images/banner/shop-banner-1.png" alt="" class="img-fluid"></a>
                    </div>
                    <!-- Shop Banner End -->
                </div>
            </div>
        </div>
    </div>
    <!--======================
    Shop area End
    ==========================-->

    <!--===================
     footer area start
    ===================-->
    <footer class="mt-10">


        <!-- Footer Bottom Start -->
        <div class="footer-bottom">
            <div class="container">
                <div class="row align-items-center">
                    <div class="col-lg-5 col-md-12 col-12">
                        <div class="footer-bottom-content">
                            <div class="footer-copyright">

                            </div>
                        </div>
                    </div>
                    <div class="col-lg-7 col-md-12 col-12">
                        <div class="payment">
                            <a href="#">
                                 <p>Copyright &copy; 2022.计算机应用技术系 All rights reserved.</p>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- Footer Bottom End -->
    </footer>
    <!--===================
     footer area end
    ===================-->

    <!-- Scroll To Top Start -->
    <a class="scroll-to-top" href=""><i class="fa fa-angle-up"></i></a>
    <!-- Scroll To Top End -->



    <!-- Use the minified version files listed below for better performance and remove the files listed above -->
    <script src="assets/js/vendor/vendor.min.js"></script>
    <script src="assets/js/plugins/plugins.min.js"></script>

    <!-- Main JS -->
    <script src="assets/js/main.js"></script>

</body>

</html>
